package model.commands.commandable;

import model.Environment;
import model.commands.Command;


/**
 * Name:
 * CLEARSCREEN
 * CS
 * 
 * Description:
 * erases turtle's trails and sends it to the home position
 * returns the distance turtle moved
 * 
 * @author JLongley
 * @author Erick Gonzalez
 */
public class ClearScreenCommand extends Command {

    @Override
    public int evaluate(Environment e) {
        e.invokeCommandableMethod(Environment.CLEAR);
        return 1;
    }
}
